import request from '../utils/request';
// import { useTokenStore } from '../stores/token';
// 批改任务存放列表

export const getassAllocationService = (pageData) => {
    return request.get('/assAllocation/list',{params:pageData})
}   

export const getByIdService = (assId) => {
    return request.get('/assAllocation/'+assId)
}
// 新增批改
export const addassAllocationService = (data) => {
    return request.post('/assAllocation/add', data) 
}

export const deleteassAllocationService = (id) => {
    return request.delete('/assAllocation/'+id)
}

// 数据修改
export const updateassAllocationService = (data) => {
    return request.put('/assAllocation/update', data)
}

